import 'package:flutter/material.dart';
import 'package:flutter_reader/new/utils_screen.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class NovelTopMenu extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(top: ScreenUtil().setHeight(100),bottom: ScreenUtil().setWidth(40)),
      color: Colors.black,
      child: InkWell(
        onTap: (){
          Navigator.pop(context);
        },
        child: Container(
          margin: EdgeInsets.only(left: ScreenUtil().setWidth(40),right: ScreenUtil().setWidth(900)),
          height: ScreenUtil().setWidth(100),
          child: Icon(
            Icons.arrow_back_ios,
            color: Colors.white,
          ),
        ),
      ),
    );
  }
}
